{config_load file="$language/lang.conf" section="boxes"}
{$FORM_ACTION}
<table class="adn"><tr><td class="hd bf">{#heading_search#}</td></tr></table>
<table class="adn"><tr><td class="hdb vcent">

<table width="100%" border="0" cellpadding="2" cellspacing="0">
  <tr>
    <td class="infoBox" align="left"><table width="95%"  border="0" cellpadding="2" cellspacing="0">
        <tr>
          <td class="blockTitle">
            <table width="100%"  border="0" cellpadding="2" cellspacing="0">
              <tr>
                <td valign="middle">{$INPUT_SEARCH}</td>
                <td valign="middle" width="100%">{$BUTTON_SUBMIT}</td>
              </tr>
              <tr>
                <td colspan="2"><div class="ajaxQuickFind" id="ajaxQuickFind" style="text-align: left;"></div>
</td>
              </tr>
            </table>
            <br />
            <a href="{$LINK_ADVANCED}">{#text_advanced_search#}</a> </td>
        </tr>
    </table></td>
  </tr>
</table>
</td></tr></table>
{$FORM_END}
{literal}
<script language="javascript" type="text/javascript">
	function ajaxQuickFind(elt) {
//		if(ajaxQuickFindUpForm.keywords.value.length > 2)
			loadXMLDoc('ajaxQuickFind', hashFormFields(ajaxQuickFindUpForm), true);
	}
	var timeout = null;
	var ajaxQuickFindUpForm = null;
	function ajaxQuickFindUp(elt) {
		ajaxQuickFindUpForm = elt.form;
	  if (timeout) clearTimeout(timeout);
	  timeout = setTimeout('ajaxQuickFind()', 500);
	}
</script>
{/literal}